﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Data;

namespace logic
{
    public class deductMoney
    {
        public static int insert(int oiid, string type, string reason, int adminId)
        {
            return DeductMoney.insert(oiid, type, reason, adminId);
        }
        public static DataSet select(string where, string orderby, int pagesize, int pageindex)
        {
            return DAL.DbHelper.ExecuteDataSetPageSize("*", "vw_DeductMoney_list", where, "did", orderby, pagesize, pageindex);
        }
    }
}
